home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
share
/
demolar
/
Quark
/
data.z
/
QuarkXPress 4.0 Demo.exe
/
0
/
PSHD
/
1020
< prev
next >
Wrap
Text File
|
1998-01-08
|
3KB
|
61 lines
/shgr{chc 0 get 1 eq{100 45{dup mul exch dup mul add 1. exch sub}setscreen
.8}{1}ifelse H}def
/setchc{chc exch 0 exch put}B
/chkch{currentfont dup/Encoding 2 copy known{get 2 index 0 get get dup/.notdef ne
{exch/CharStrings 2 copy known{get exch known not}{p3 T}ifelse}
{p2 T}ifelse}{p3 T}ifelse}B
/xpsh{doss ss and{sym fmtx makefont/xpfs X
{s1 0 3 -1 roll put
s1 chkch{g xpfs setfont M cps G mif}
{M}ifelse}forall}{M}ifelse}B
/xpash{doss ss and{sym fmtx makefont/xpfs X
{s1 0 3 -1 roll put 2 copy
s1 chkch{g xpfs setfont N cps G mif}
{N}ifelse}forall p2}{N}ifelse}B
/xpwsh{doss ss and{sym fmtx makefont/xpfs X
{s1 0 3 -1 roll put 3 copy
s1 chkch{g xpfs setfont Y cps G mif}
{Y}ifelse}forall p3}{Y}ifelse}B
/xpawsh{doss ss and{sym fmtx makefont/xpfs X
{s1 0 3 -1 roll put 5 copy
s1 chkch{g xpfs setfont Q cps G mif}
{Q}ifelse}forall p2 p3}{Q}ifelse}B
/d{dup doss ss and{sym fmtx makefont/xpfs X
0 0 3 -1 roll{s1 0 3 -1 roll put
s1 chkch{g xpfs setfont w G}
{w}ifelse 3 -1 roll add 3 1 roll add exch}forall}
{w}ifelse pop 3 -1 roll sub 3 -1 roll div
3 -1 roll exch sub 0 32 3 -1 roll 0 5 -1 roll
doss ss and{xpash p3}{Q}ifelse}B
/D{dup doss ss and{sym fmtx makefont/xpfs X
0 0 3 -1 roll{s1 0 3 -1 roll put
s1 chkch{g xpfs setfont w G}
{w}ifelse 3 -1 roll add 3 1 roll add exch}forall}
{w}ifelse pop 3 -1 roll exch sub 3 -1 roll div 0 3 -1 roll xpash}B
/ssh{2 copy g dup vtd{neg}if rm shgr xpsh pop G xpsh}B
/std{6 copy g dup vtd{neg}if rm shgr d pop G d}B
/mc{0 3 1 roll transform neg exch pop}B
/sgt{2 copy known{get T}{p2 F}ifelse}B
/kif{currentfont dup/FontMatrix get exch/FontInfo sgt{T}{currentfont/df sgt
{dup/FontInfo sgt{3 1 roll/FontMatrix get mtx concatmatrix exch T}{p3 F}
ifelse}{p2 F}ifelse}ifelse{3 -1 roll sgt{exch T}{pop F}ifelse}{F}ifelse}B
/ul{g/@1 X{90 rotate 1 -1 S}if/@2 X/@3 X/@4 X @3 0 lt{
@1{/UnderlinePosition kif{mc neg ulpmax 0 ne{dup @3 div abs ulpmax gt
{pop T}{F}ifelse}{F}ifelse}{T}ifelse}{T}ifelse{@3 -10 div}if
@2 1 and 0 ne{@4 div}if
@1{/UnderlineThickness kif{mc ultmax 0 ne{dup @3 div abs ultmax gt
{pop T}{F}ifelse}{F}ifelse}{T}ifelse}{T}ifelse{@3 -15 div}if
@2 1 and 0 ne{@4 div}if}{@3}ifelse abs
@1{currentfont/TrapWidth sgt}{F}ifelse not{0}if
dup dup 2. div dup dup 0 lt{pop 0}if/@1 X
neg 5 -1 roll rm 3 -1 roll add dup 0 lt{pop 0}if o
add dup 0 lt{pop 0}if currentpoint np m
@2 16 and 0 ne{g @2 8 and 0 eq{shgr}if currentlinewidth 2. div dup
rm dup 0 rl n G}if @2 8 and 0 ne dup
{g gtc 1 index 0 rl n G}if
{@1 sub @1 2. div 0 rm currentlinewidth @1 sub o
currentpoint np currentlinewidth 2. div sub m dup 0 rl
0 currentlinewidth @2 512 and 0 eq{rl}{rm}ifelse
neg 0 rl @2 256 and 0 eq{0 currentlinewidth neg rl}if
xpys @1 add o 2 a}{0 rl}ifelse n G}B